package com.example.demo.conditionaldemo;

import lombok.Data;
import org.springframework.context.annotation.DependsOn;

//@DependsOn("userMapper") //只有当UserMapper被创建后，ConditionalBeanObj才会被创建
@Data
public class ConditionalBeanObj {

    private String name;
    private Integer age;
}
